package com.hx78.synchronzied;

public class Seller {
    private Integer number = 100;

    public void  sell() {
        synchronized(Seller.class) {
            number--;
        }
    }
}
